:host {
  position: fixed !important;
  z-index: 2147483647 !important;
}

#container {
  font-family: system-ui;
  white-space: nowrap;
  cursor: move;
  border-radius: 48px;
  background: #161a25;
  box-sizing: border-box;
  padding: 4px;
  position: relative;
  align-items: center;
  display: none;
}

#container.visible {
  display: flex;
}

.watch-replay,
.watch-replay .rq-logo,
.watch-replay .btn-text {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.watch-replay {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 35px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  background: #004eeb;
  max-width: 36px;
  min-width: 36px;
  overflow: hidden;
}

.rq-logo {
  padding: 6px;
  width: 36px;
  color: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: transparent;
}

.rq-logo svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.watch-replay .btn-text {
  color: #ffffff;
  display: flex;
  align-items: center;
  column-gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.watch-replay:hover {
  min-width: 196px;
}

.watch-replay:hover .rq-logo {
  opacity: 0;
}

.watch-replay:hover .btn-text {
  opacity: 1;
  transform: scaleX(1);
}
